﻿<include file="App/Home/Iphone/Public/header.html" />
			<div class="Wf-div1">
				<a onclick="history.back(-1)">返回</a>
				<span>修改登录密码</span><strong style="color:red"></strong>
			</div>
			<div class="strip"></div>

			<!--登录密码盒子 开始-->
			<div class="cb-box1 tb-box1" id="tagContent0" style="">
				
					<!--    <form method="post" action="/user_index/pwd">-->
					<p class="p5"><label>登录密码</label><input style="width: 5.44rem;" type="password" id="oldpwd" name="oldpwd" placeholder="请输入登录密码"></p>
					<p class="p5"><label>新密码</label><input style="width: 5.44rem;" type="password" id="pwd" name="pwd" placeholder="设置新密码，长度在6-20个字符之间"></p>
					<p class="p5"><label>重复密码</label><input style="width: 5.44rem;" type="password" id="repwd" name="repwd" placeholder="请再次输入新密码"></p>
					<p class="p5 p5_f">
          
					<p class="p5" style="margin-top: 0.7rem"><button  style="margin-top:0.3rem" class="input_news_password"  onclick="aaa();">确认修改</button></p>
				
			</div>
			<!--登录密码盒子 结束-->
			
			<div style="clear: both;"></div>

			<script>
function aaa(){
$.post("{:U('User/updatePassword')}",{'oldpwd':$("#oldpwd").val(),'pwd':$("#pwd").val(),'repwd':$("#repwd").val()},function(data){
if(data['status']==1){
layer.msg(data['info']);
setTimeout("t()",2000);
}else{
layer.msg(data['info']);
}
})
}
function t(){
	window.location.href="{:U('Index/index')}";
	}
</script>
		</div>
		<div class="clear"></div>
	</div>
</div>
</body></html>